package com.company;

public class dibati {
        public static void main(String[] args) {
            int[][] arr_1 = new int[3][3];
            arr_1[0] = new int[]{8, 75, 23};
            arr_1[1] = new int[]{21,55,34};
            arr_1[2] = new int[]{15,23,20};
            for (int i =0;i<arr_1.length;i++){
                for (int j =0 ;j<arr_1[i].length;j++){
                    arr_1[i][j]=arr_1[j][i];
                    System.out.println(arr_1[i][j]);
                }
            }

        }
    }
